package cn.com.headfree.call;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.gta.edu.sdk.common.dto.ResultData;

import cn.com.headfree.call.callback.DictionaryServiceCallBack;

@FeignClient(value="comm-dictionary-server",fallback=DictionaryServiceCallBack.class)
@Service("dictionaryServiceCall")
public interface IDictionaryServiceCall {
	
	@RequestMapping(value="/comm-dictionary-server/dictionary/findDictionaryByParentValue",method=RequestMethod.GET)
    public ResultData findDictionaryByParentValue(@RequestParam("sysCode") String sysCode, @RequestParam("parentValue") String parentValue) ;
}
